﻿

public class Homework5 {
    public static void main(String[] args) {
        //第一行
        System.out.print("  ");
        for(int i = 0; i < 10; i++){
            System.out.print(i + " ");
        }
        System.out.println("a b c d e f");

        //剩余行
        for(int i = 0; i < 16; i++){
            if(i <= 9){
                System.out.print(i + " ");
            }else{
                char c = (char)('a' + i - 10);
                System.out.print(c + " ");
            }
            for(int j = 0; j < 16; j++){
                System.out.print("+" + " ");
            }
            System.out.println();
        }

    }
}
